home *** CD-ROM | disk | FTP | other *** search
/ Clickx 36 / Clickx 36.iso / mac / assets / software / tuxpaint.dmg / Tux Paint.app / Contents / Frameworks / playsound.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-10-20  |  374 b   |  21 lines

  1. #ifndef PLAYSOUND_H
  2. #define PLAYSOUND_H
  3.  
  4. #include "SDL.h"
  5. #include "SDL_mixer.h"
  6. #include "sounds.h"
  7.  
  8. #define SNDPOS_LEFT -997
  9. #define SNDPOS_CENTER -998
  10. #define SNDPOS_RIGHT -999
  11.  
  12. #define SNDDIST_NEAR -999
  13.  
  14. extern Mix_Chunk *sounds[NUM_SOUNDS];
  15. extern int mute, use_sound;
  16.  
  17. void playsound(SDL_Surface * screen, int chan, int s, int override, int x,
  18.            int y);
  19.  
  20. #endif
  21.